package com.qf.client;

import com.qf.entity.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "07merchantandgoods")
public interface Myclient {

    @RequestMapping("/GoodsController/selByGoodsId/{g_id}")
    public Goods selByGoodsId(@PathVariable("g_id") Integer g_id);
}
